package com.imooc.ad.index;

/**
 * @Description: 索引的接口
 * @ClassName: IndexAware
 * @Author: zhangzhongyu
 * @Date: 2019-10-14 21:46
 * @Version: 1.0
 */
public interface IndexAware<K, V> {

    V get(K key);

    void add(K key, V value);

    void update(K key, V value);

    void delete(K key, V value);
}
